#!/bin/bash
export MAIN_MENU="Main menu"
export MAIN_MENU1="Reboot the host"
export MAIN_MENU2="Turn off the host"
export MAIN_MENU3="Host settings"
export MAIN_MENU4="Network settings"
export MAIN_MENU5="Host resource management"
#export MAIN_MENU5="Manage email server"
export MAIN_MENU6="Manage mysql"
export MAIN_MENU7="Manage VPN"
export MAIN_MENU8="Website management"
export MAIN_MENU9="Change langluage"
export MAIN_MENU10="Update ConsoleCP"
export MAIN_MENU11="Show logs"
export LEXIT="Exit"
export MAIN_MENU_NOTE="The email is still under serious revision, it will be back soon"
export BACK="Go back to the previous menus"
export FAIL_CHOISE="Wrong choice"
export ENTER_NUMBER="Enter the action number: "
export ANYKEY_CONTINUE="Press any key to continue..."
export SELECT_ACTION="Select the action"
export NON_ROOT="You need to run ccp with root permissions"
export REBOOT="Rebooting the host..."
export SHUTDOWN="Shutting down the host..."
export CURRENT_NETWORK="Current network settings:"
export NETWORK_MENU1="Show local network settings..........You current IP address in Internet:"
export NETWORK_MENU2="Configure the Internet"
export NETWORK_MENU3="Configure the UFW firewall"
export NETWORK_MENU4="Change hostname"
export SETTING_INTERNET="Configure the Internet..."
export ENTER_INTERFACE="Enter the interface name (for example, eth0): "
export SELECT_STATIC_IP="Manually"
export SELECT_CONFIG_IP_TYPE="Select the type of setup: "
export ENTER_IP="Enter the IP address:"
export ENTER_MASK="Enter the subnet mask:"
export ENTER_GATEWAY="Enter the gateway IP address:"
export ENTER_DNS="Enter the IP address of the DNS server:"
export SAVE_NETWORK="Changes in the /etc/network/interfaces file have been saved. The connection may be lost for a short time."
export APPLY_CHANGE="Do you want to apply the changes? (1 - Yes, 2 - No): "
export CHANGE_SUCCSESS="The changes were applied."
export APPLYING="Applying changes..."
export CHANGE_FAILED="Changes were not applied."
export NON_UFW="The UFW firewall is not installed."
export LIKE_INSTALL="Would you like to install? (1 - Yes, 2 - No): "
export UFW_MENU1="Viewing firewall rules"
export UFW_MENU2="Allow access to the port"
export UFW_MENU3="Deny access to the port"
export UFW_MENU4="Disable/enable the firewall"
export ENTER_PORT="Enter the port number: "
export UFW_IS_DOWN="The UFW firewall is off."
export UFW_IS_UP="The UFW firewall is on."
export UFW_DOWN="Do you want to turn off the UFW firewall? (1 - Yes, 2 - No): "
export UFW_UP="Do you want to turn on the UFW firewall? (1 - Yes, 2 - No): "
export CANCEL="The operation was canceled."
export SUCCESS="The operation was completed successfully."
export UFW_MISSING="UFW status unknown."
export RESOURCE_MENU1="Open htop"
export RESOURCE_MENU2="Kill the process"
export RESOURCE_MENU3="View used network ports"
export NON_HTOP="The htop package is not installed."
export ENTER_PID="Enter the process PID: "
export SELECT_LANG="Select langluage:"
export NON_MYSQL="The mysql package is not installed."
export MYSQL_MANAGE_MENU1="Manage mysql users"
export MYSQL_MANAGE_MENU2="Manage mysql DB"
export MYSQL_MANAGE_MENU3="Run mysql autofix"
export MYSQL_ROOT_PASSWORD_NEED="Enter root password from mysql:"
export MYSQL_USERS_LIST="Mysql users list:"
export MYSQL_USERS_LIST_ERROR="Error when getting a list of mysql users"
export MYSQL_USERS_MANAGE_MENU1="Create mysql user"
export MYSQL_USERS_MANAGE_MENU2="Delete mysql user"
export MYSQL_USERS_MANAGE_MENU3="Change mysql user password"
export ENTER_USERNAME="Enter username:"
export ENTER_PASSWORD="Enter password:"
export ENTER_NEW_PASSWORD="Enter new password:"
export MYSQL_USER_EXISTS="The user $username_mysql already exists."
export MYSQL_USER_NON_EXISTS="The user $username_mysql non exists."
export MYSQL_DB_LIST="Mysql DB list:"
export MYSQL_DB_LIST_ERROR="Error when getting a list of mysql DB"
export MYSQL_DB_MANAGE_MENU1="Create BD and bind to the mysql user"
export MYSQL_DB_MANAGE_MENU2="Delete BD"
export MYSQL_DB_MANAGE_MENU3="Bind the BD to the mysql user"
export MYSQL_DB_MANAGE_MENU4="Unbind the BD to the mysql user"
export ENTER_DB_NAME="Enter DB name:"
export NON_SCREEN="The screen package is not installed."
export RUN_SUCCSESS="Run succsess."
export NON_NET_TOOLS="The net-tools package is not installed."
export EMAIL_MANAGE_MENU1="Add domain"
export EMAIL_MANAGE_MENU2="Delete domain"
export EMAIL_MANAGE_MENU3="Create email user (Non LDAP (AD) only!)"
export EMAIL_MANAGE_MENU4="Delete email user (Non LDAP (AD) only!)"
export EMAIL_MANAGE_MENU5="Change password email user (Non LDAP (AD) only!)"
export EMAIL_MANAGE_MENU6="Show email users"
export EMAIL_MANAGE_MENU7="Show email domains"
export EMAIL_MANAGE_MENU8="Configure SSL/TLS"
export EMAIL_MANAGE_MENU9="Configure LDAP (AD) integration (Beta function)"
export EMAIL_MANAGE_MENU10="Configure DKIM"
export ENTER_DOMAIN="Enter domain name:"
export ENTER_LDAP_DOMAIN="Enter LDAP (AD) domain:"
export ENTER_LDAP_SEARCHE_BASE="Enter LDAP (AD) search base:"
export ENTER_LDAP_DN="Enter LDAP (AD) DN:"
export ENTER_LDAP_PASSWORD="Enter LDAP (AD) bind password:"
export DKIM_OPEN_DKIM="Open DKIM key for $domain with selector $dkim_selector:"
export ENTER_DKIM_SELECTOR="Enter DKIM selector:"
export NON_WIREGUARD="Wireguard script is not install."
export NON_OPENVPN="OpenVPN script is not install."
export VPN_MANAGER_MENU1="Wireguard server settings (go to a third-party script)"
export VPN_MANAGER_MENU2="OpenVPN server settings (go to a third-party script)"
export LIKE_REBOOT="To accept the changes, you need to reboot the host, do you want to reboot now? (1 - Yes, 2 - No):"
export ENTER_NEW_HOSTNAME="Enter new hostname:"
export EMAIL_NOTE="You can change the host name in the ConsoleCP network settings. Also, before the first mail setup, make sure that you have exim and postfix installed."
export NON_NGINX="The nginx package is not installed."
export NON_PHP="The php package is not installed."
export NON_APACHE="The apache package is not installed."
export NON_CERTBOT="The certbot package is not installed."
export WEB_MANAGE_MENU1="Create a website"
export WEB_MANAGE_MENU2="Delete a website"
export WEB_MANAGE_MENU3="Install Wordpress"
export WEB_MANAGE_MENU4="Enable the site"
export WEB_MANAGE_MENU5="Turn off the site"
export WEB_MANAGE_MENU6="Restart web services"
export WEB_MANAGE_MENU7="Configure Let's Encrypt certificate (only on nginx)"
export WEB_MANAGE_MENU8="PHP management"
export WEB_MANAGE_MENU9="Manage web templates"
export LIKE_SSL="Do you want to configure SSL? (1 - Yes, 0 - No):"
export LIKE_LTSENCRYPT="Do you want to use a certificate from Let's Encrypt? (1 - Yes, 0 - No):"
export ENTER_SSL_PATH="Enter the full path to your SSL certificate:"
export ENTER_SSL_KEY_PATH="Enter the full path to the SSL key:"
export LIKE_WEB_DIR_DELETE="Do you want to delete the site directory? (1 - Yes, 2 - No):"
export WEB_SITE_CREATED="Web site created."
export WEB_SITE_DELETED="Web site deleted."
export WEB_SITE_ENABLED="Web site enabled."
export WEB_SITE_DISABLED="Web site disabled."
export PHP_MANAGE_MENU1="Add PHP version"
export PHP_MANAGE_MENU2="Remove PHP version"
export PHP_MANAGE_MENU3="Install or update PHP ioncube"
export PHP_MANAGE_MENU4="Add PHP plugin"
export PHP_MANAGE_MENU5="Change the PHP version for a specific site"
export WEB_SITE_LIST="List of websites:"
export INSTALLED_PHP="List of installed PHP versions:"
export UNKNOW_ERROR="Unknown error"
export MISSING_DOMAIN="There is no such domain or there is no config for it"
export ENTER_PHP_VERSION="Enter PHP version:"
export ENTER_PHP_PLUGIN="Enter PHP plugin:"
export ENTER_OLD_PHP_VERSION="Enter the PHP version used by the site (by default it is 8.1):"
export LOG_MENU1="Show the status of web services"
export LOG_MENU2="Show the site error log"
export LOG_MENU3="Show the site log"
export LOG_MENU4="Show PHP FPM log"
export LOG_MENU5="Show the history of entering commands as root (bash history)"
export ENTER_EMAIL="Enter email address:"
export ENTER_WP_CONF="Enter Wordpress config:"
export ENTER_MYSQL_FOR_WP="Enter Mysql config for Wordpress:"
export LIKE_WP="Like install Wordpress? (1 - Yes, 2 - No):"
export WP_INSTALLED="Wordpress installed"
export HTTP_PHP_TEMPLATES_DESCRIPTION="http with php 8.1"
export HTTPS_PHP_TEMPLATES_DESCRIPTION="https with php 8.1, first you need to create a certificate and key, 301 redirect with http, HSTS enabled"
export LETSENCRYPT_PHP_TEMPLATES_DESCRIPTION="The same as template #2, but the certificate and key are generated by certbot"
export ENTER_NUMBER_TEMPLATE="Enter the template number:"
export WEB_TEMPLATES_MENU1="Download web configuration template"
export WEB_TEMPLATES_MENU2="Download cms installation template"
export ENTER_MYSQL_FOR_NC="Enter Mysql setting's for Nextcloud:"
export NEXTCLOUD_TEMPLATES_DESCRIPTION="Autoinstall Nextcloud (only http, https will be added later)"
export NEXTCLOUD_INSTALLED="Nextcloud installed, don't forget to configure the database and the Mysql user"
export LIKE_REBOOT_SSH="Do you want to restart SSH? SSH session can be reset."
export CONFIG_HOST_MENU1="Enable or disable SSH login with root"
export CONFIG_HOST_MENU2="Enable scrolling in screen"
export CONFIG_HOST_MENU3="Change root password"